package cn.seaboot.admin.flake.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * POJO
 * 结果字段映射 [T_FLAKE_RESULT_MAPPING]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "结果字段映射 [T_FLAKE_RESULT_MAPPING] 实体类")
public class FlakeResultMapping implements Serializable {

    private static final long serialVersionUID = -9115127864143611089L;
    /**
     * 数据库Id
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "数据库Id")
    private String databaseId;
    /**
     * 结果ID
     */
    @Size( max = 32)
    @Schema(description = "结果ID")
    private String resultId;
    /**
     * 列名
     */
    @Size( max = 32)
    @Schema(description = "列名")
    private String column;
    /**
     * 字段名
     */
    @Size( max = 32)
    @Schema(description = "字段名")
    private String property;
    /**
     * java类型
     */
    @Size( max = 32)
    @Schema(description = "java类型")
    private String javaType;
    /**
     * jabc类型
     */
    @Size( max = 32)
    @Schema(description = "jabc类型")
    private String jdbcType;

    public String getDatabaseId() {
        return databaseId;
    }

    public void setDatabaseId(String databaseId) {
        this.databaseId = databaseId;
    }

    public String getResultId() {
        return resultId;
    }

    public void setResultId(String resultId) {
        this.resultId = resultId;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType;
    }
}
